const path = require('path');

// process.mainModule废弃于 14.0.0
module.exports = path.dirname(require.main.filename);